package com.wish233.provider.service.impl;

import com.wish233.common.model.User;
import com.wish233.common.service.UserService;
import lombok.NoArgsConstructor;

/**
 * @author WHH
 */
@NoArgsConstructor
public class UserServiceImpl implements UserService {
    @Override
    public User getUserById(String id) {
        User user = new User();
        user.setId(id);
        user.setName("wish");
        user.setAge("18");
        return user;
    }

    @Override
    public int getUserAge(String id) {
        return 0;
    }
}
